package com.offcn.mapper;

import com.offcn.entity.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {
    //查询所有
    List<News> selectByAll();

    News selectById(@Param("id") int id);
}
